package com.cenntro.oss.service;

import javax.servlet.http.HttpServletRequest;

import com.cenntro.common.base.BaseService;
import com.cenntro.common.util.result.Result;

/**
 * <p>
 * 账号数据表 服务类
 * </p>
 *
 * @author 
 * @since 2018-09-17
 */
public interface SysSooidService extends BaseService {

    /**
     * 修改用户密码
     * @param userName
     * @param newPassword
     */
    Integer updateNewPassword(String newPassword,String userName);

    /**
     * 修改头像
     * @param userName
     * @param request
     * @return
     */
    Result updateHeadPic(String userName, HttpServletRequest request);
}
